﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevExpress.Web.ASPxUploadControl;

namespace EnterpriseFund.Common
{
    /// <summary>
    /// 上传控件辅助类
    /// </summary>
    public class UploadControlHelper
    {
        /// <summary>
        /// 图片类验证
        /// </summary>
        public static readonly ValidationSettings PicValidationSettings = new ValidationSettings
        {
            AllowedFileExtensions = new string[] { ".jpg", ".jpeg", ".jpe", ".gif" },
            MaxFileSize = 20971520
        };
    }
}